#ifndef ___fat32_operacionBC_eliminar_cadena_clusteres

#define ___fat32_operacionBC_eliminar_cadena_clusteres 1

#include "f32_mto.c"

unsigned char fat32op_eliminar_cadena_clusteres(FAT32_PARAMS_OPERACION);

unsigned char fat32op_eliminar_cadena_clusteres (FAT32_PARAMS_OPERACION) {
  unsigned long * primerCluster = datosEntrada;
  unsigned long clusterAnterior, clusterActual;
  clusterActual = *primerCluster;
  while (clusterActual < 268435447) {
    clusterAnterior = clusterActual;
    clusterActual = fat32_elemento(clusterAnterior);
    fat32_establecer_elemento(clusterAnterior, 0);
  }
  return 1;
}

#endif